package com.wuhunyu.client.err;

import com.wuhunyu.client.ServiceUserClient;
import com.wuhunyu.commonutils.result.CommonResult;
import org.springframework.stereotype.Component;

/**
 * 用户服务接口兜底方法
 *
 * @author wuhunyu
 * @version 1.0
 * @date 2021-01-26 15:01
 */
@Component
public class ServiceUserClientErr implements ServiceUserClient {

    @Override
    public CommonResult selectMemberInfo(String id) {
        return CommonResult.error("获取用户信息失败");
    }
}
